package OOP;

public class Rl {
    String name ;
    String xb;
    int age;

    public static void main(String[] args) {
        Rl rl=new Rl();
        rl.name="cmd";
        rl.xb="男";
        rl.age=20;

        Rl rl1=new Rl();
        rl1.name="xjj";
        rl1.xb="女";
        rl1.age=18;
        Rl[] rls={rl,rl1};
        for (int i = 0; i < rls.length; i++) {
            System.out.println(rls[i].name+rls[i].xb+rls[i].age);
        }
    }

}
